package com.ruoyi.system.service.impl;

import java.util.List;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.system.mapper.ActivityMapper;
import com.ruoyi.system.domain.Activity;
import com.ruoyi.system.service.IActivityService;

/**
 * 营销活动Service业务层处理
 *
 * @author weixiao
 * @date 2023-01-27
 */
@Service
public class ActivityServiceImpl extends ServiceImpl<ActivityMapper, Activity> implements IActivityService {

    /**
     * 查询营销活动列表
     *
     * @param activity 营销活动
     * @return 营销活动
     */
    @Override
    public List<Activity> selectActivityList(Activity activity) {
        return getBaseMapper().selectActivityList(activity);
    }
}
